﻿using DayDayUp.Core.Domain.Users;

namespace DayDayUp.Service.Securitys
{
    public interface IPermissionService
    {
        //bool Authorize(PermissionRecord permission);

        bool Authorize(PermissionRecord permission, string userId);
    }
}